home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 September / september_2000.iso / intercd / root / ^Linux / WindowMaker / src / actions.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-06  |  1.9 KB  |  68 lines

  1. /*
  2.  *  Window Maker window manager
  3.  * 
  4.  *  Copyright (c) 1997, 1998 Alfredo K. Kojima
  5.  * 
  6.  *  This program is free software; you can redistribute it and/or modify
  7.  *  it under the terms of the GNU General Public License as published by
  8.  *  the Free Software Foundation; either version 2 of the License, or
  9.  *  (at your option) any later version.
  10.  *
  11.  *  This program is distributed in the hope that it will be useful,
  12.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  *  GNU General Public License for more details.
  15.  *
  16.  *  You should have received a copy of the GNU General Public License
  17.  *  along with this program; if not, write to the Free Software
  18.  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 
  19.  *  USA.
  20.  */
  21.  
  22. #ifndef WMACTIONS_H_
  23. #define WMACTIONS_H_
  24.  
  25. #include "window.h"
  26.  
  27. #define MAX_HORIZONTAL     1
  28. #define MAX_VERTICAL     2
  29.  
  30.  
  31. void wSetFocusTo(WScreen *scr, WWindow *wwin);
  32.  
  33. int wMouseMoveWindow(WWindow *wwin, XEvent *ev);
  34. int wKeyboardMoveResizeWindow(WWindow *wwin);
  35.  
  36. void wMouseResizeWindow(WWindow *wwin, XEvent *ev);
  37.  
  38. void wShadeWindow(WWindow *wwin);
  39. void wUnshadeWindow(WWindow *wwin);
  40.  
  41. void wIconifyWindow(WWindow *wwin);
  42. void wDeiconifyWindow(WWindow *wwin);
  43.  
  44. #ifndef LITE
  45. void wSelectWindows(WScreen *scr, XEvent *ev);
  46. #endif
  47.  
  48. void wSelectWindow(WWindow *wwin, Bool flag);
  49. void wUnselectWindows(WScreen *scr);
  50.  
  51. void wMaximizeWindow(WWindow *wwin, int directions);
  52. void wUnmaximizeWindow(WWindow *wwin);
  53.  
  54. void wHideOtherApplications(WWindow *wwin);
  55. void wShowAllWindows(WScreen *scr);
  56.  
  57. void wHideApplication(WApplication *wapp);
  58. void wUnhideApplication(WApplication *wapp, Bool miniwindows, 
  59.             Bool bringToCurrentWS);
  60.  
  61. void wRefreshDesktop(WScreen *scr);
  62.  
  63. void wArrangeIcons(WScreen *scr, Bool arrangeAll);
  64.  
  65. void wMakeWindowVisible(WWindow *wwin);
  66.  
  67. #endif
  68.